package com.dreamwhale.machinery.service;

import com.dreamwhale.machinery.entity.Machinist;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 机修师 服务类
 * </p>
 *
 * @author Author
 * @since 2020-06-15
 */
public interface MachinistService extends IService<Machinist> {


    //机修师入驻
    int insertMachinists(Machinist machinist);


    //根据省市分类id查询信息
    List<Machinist> selectMachinistsByCity(String provinceCode, String cityCode, Integer classifyId);

    /**
     * 根据主键id查询机修师详情
     *
     * @param machinistId
     * @return
     */
    Machinist selectMachinistsByMaId(Integer machinistId);
}
